package com.browsesoft;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class SequenceImpl extends UnicastRemoteObject implements Sequence {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1165093458328463181L;

	public SequenceImpl() throws RemoteException {
	}

	/**
	 * 得到当前序号
	 * 
	 * @return 当前序号
	 * @throws java.sql.SQLException
	 */
	public int getID() throws RemoteException, Exception {
		return SequenceFind.getID();
	}
}